#include "artist.h"
namespace plok {

    Artist::Artist()
    {
    }

    Artist::Artist(std::string name) :
            m_name(name)
    {
    }

    void Artist::add_album(Album* album)
    {
        this->m_albums.push_back(album);
    }

    const std::string& Artist::get_name() const
    {
        return this->m_name;
    }

    const std::vector<plok::Album*> & Artist::get_albums() const
    {
        return this->m_albums;
    }

}
